-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bugfix] Add toast message for getting started / Fix Nav Bug for Traces #1977
Conversation
Signed-off-by: Adam Tackett <[email protected]>
if (isNavGroupEnabled) { | ||
chrome.setBreadcrumbs([...childBreadcrumbs]); | ||
} else { | ||
chrome.setBreadcrumbs([parentBreadcrumb, ...childBreadcrumbs]); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we try using
useEffect(() => {
setNavBreadCrumbs([], [parentBreadcrumb, ...childBreadcrumbs]);
}, [isNavGroupEnabled])
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In that case, can we please track this in an issue. Cause ideally we would want to keep functions re-used across components.
Signed-off-by: Adam Tackett <[email protected]> Co-authored-by: Adam Tackett <[email protected]> (cherry picked from commit 8d4ba26) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Adam Tackett <[email protected]> Co-authored-by: Adam Tackett <[email protected]> (cherry picked from commit 8d4ba26) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit 8d4ba26) Signed-off-by: Adam Tackett <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Adam Tackett <[email protected]>
(cherry picked from commit 8d4ba26) Signed-off-by: Adam Tackett <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Adam Tackett <[email protected]>
Description
Adds a toast message and error to getting started asset creation.
Screen.Recording.2024-07-23.at.2.33.21.PM.mov
Fixes a bug in trace analytics while the new nav changes are active concerning breadcrumbs.
Before Fix:
https://github.com/user-attachments/assets/e503910c-b547-4031-a6e9-90b09275cc68
After fix:
https://github.com/user-attachments/assets/1ba8af89-be4a-4493-b118-933cf19a0470
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.